[INFO] fetching crate junobuild-macros 0.3.1...
[INFO] testing junobuild-macros-0.3.1 against master#1f7f8ea0721a3b1eb73e6c6d25cccb371434b320 for pr-154065
[INFO] extracting crate junobuild-macros 0.3.1 into /workspace/builds/worker-2-tc1/source
[INFO] started tweaking crates.io crate junobuild-macros 0.3.1
[INFO] finished tweaking crates.io crate junobuild-macros 0.3.1
[INFO] tweaked toml for crates.io crate junobuild-macros 0.3.1 written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate junobuild-macros 0.3.1 on toolchain 1f7f8ea0721a3b1eb73e6c6d25cccb371434b320
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate junobuild-macros 0.3.1 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded serde_core v1.0.225
[INFO] [stderr]   Downloaded serde_tokenstream v0.2.2
[INFO] [stderr]   Downloaded serde v1.0.225
[INFO] [stderr]   Downloaded serde_derive v1.0.225
[INFO] [stderr]   Downloaded syn v2.0.98
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] cc3b80aa1e8a1c43ebe80a17de9967f1f8fc1adabaeee84e6a06987d0bdee331
[INFO] running `Command { std: "docker" "start" "-a" "cc3b80aa1e8a1c43ebe80a17de9967f1f8fc1adabaeee84e6a06987d0bdee331", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "cc3b80aa1e8a1c43ebe80a17de9967f1f8fc1adabaeee84e6a06987d0bdee331", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cc3b80aa1e8a1c43ebe80a17de9967f1f8fc1adabaeee84e6a06987d0bdee331", kill_on_drop: false }`
[INFO] [stdout] cc3b80aa1e8a1c43ebe80a17de9967f1f8fc1adabaeee84e6a06987d0bdee331
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f2a673848a02ca33ef1b639cea795567eadd76a7274f3f34b0ace2833d81f0ef
[INFO] running `Command { std: "docker" "start" "-a" "f2a673848a02ca33ef1b639cea795567eadd76a7274f3f34b0ace2833d81f0ef", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.93
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]    Compiling serde_core v1.0.225
[INFO] [stderr]    Compiling serde v1.0.225
[INFO] [stderr]    Compiling quote v1.0.38
[INFO] [stderr]    Compiling syn v2.0.98
[INFO] [stderr]    Compiling serde_derive v1.0.225
[INFO] [stderr]    Compiling serde_tokenstream v0.2.2
[INFO] [stderr]    Compiling junobuild-macros v0.3.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.51s
[INFO] running `Command { std: "docker" "inspect" "f2a673848a02ca33ef1b639cea795567eadd76a7274f3f34b0ace2833d81f0ef", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f2a673848a02ca33ef1b639cea795567eadd76a7274f3f34b0ace2833d81f0ef", kill_on_drop: false }`
[INFO] [stdout] f2a673848a02ca33ef1b639cea795567eadd76a7274f3f34b0ace2833d81f0ef
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 41a2505347b37d15d46e4b1b0b7cf46915c3d5e38e5262ccb662bed3a8738686
[INFO] running `Command { std: "docker" "start" "-a" "41a2505347b37d15d46e4b1b0b7cf46915c3d5e38e5262ccb662bed3a8738686", kill_on_drop: false }`
[INFO] [stderr]    Compiling junobuild-macros v0.3.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.99s
[INFO] running `Command { std: "docker" "inspect" "41a2505347b37d15d46e4b1b0b7cf46915c3d5e38e5262ccb662bed3a8738686", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "41a2505347b37d15d46e4b1b0b7cf46915c3d5e38e5262ccb662bed3a8738686", kill_on_drop: false }`
[INFO] [stdout] 41a2505347b37d15d46e4b1b0b7cf46915c3d5e38e5262ccb662bed3a8738686
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 4e24e91ad6cc432f4ccdc545a549a949eab29c9b0241517e92f19acbabbb9d25
[INFO] running `Command { std: "docker" "start" "-a" "4e24e91ad6cc432f4ccdc545a549a949eab29c9b0241517e92f19acbabbb9d25", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/junobuild_macros-6eb696816e2fb337)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests junobuild_macros
[INFO] [stdout] 
[INFO] [stdout] running 32 tests
[INFO] [stdout] test src/lib.rs - assert_set_doc (line 316) ... FAILED
[INFO] [stdout] test src/lib.rs - json_data (line 543) ... FAILED
[INFO] [stdout] test src/lib.rs - assert_delete_asset (line 395) ... FAILED
[INFO] [stdout] test src/lib.rs - on_delete_filtered_assets (line 268) ... FAILED
[INFO] [stdout] test src/lib.rs - assert_delete_asset (line 406) ... FAILED
[INFO] [stdout] test src/lib.rs - on_delete_asset (line 219) ... FAILED
[INFO] [stdout] test src/lib.rs - assert_delete_doc (line 346) ... FAILED
[INFO] [stdout] test src/lib.rs - on_init (line 442) ... FAILED
[INFO] [stdout] test src/lib.rs - assert_set_doc (line 305) ... FAILED
[INFO] [stdout] test src/lib.rs - assert_upload_asset (line 376) ... FAILED
[INFO] [stdout] test src/lib.rs - on_delete_doc (line 81) ... FAILED
[INFO] [stdout] test src/lib.rs - on_post_upgrade (line 425) ... FAILED
[INFO] [stdout] test src/lib.rs - on_delete_filtered_assets (line 278) ... FAILED
[INFO] [stdout] test src/lib.rs - on_delete_asset (line 208) ... FAILED
[INFO] [stdout] test src/lib.rs - assert_upload_asset (line 365) ... FAILED
[INFO] [stdout] test src/lib.rs - on_post_upgrade_sync (line 472) ... FAILED
[INFO] [stdout] test src/lib.rs - assert_delete_doc (line 335) ... FAILED
[INFO] [stdout] test src/lib.rs - on_init_sync (line 502) ... FAILED
[INFO] [stdout] test src/lib.rs - on_delete_many_docs (line 111) ... FAILED
[INFO] [stdout] test src/lib.rs - on_set_many_docs (line 62) ... FAILED
[INFO] [stdout] test src/lib.rs - on_init_random_seed (line 522) ... FAILED
[INFO] [stdout] test src/lib.rs - on_delete_many_assets (line 249) ... FAILED
[INFO] [stdout] test src/lib.rs - on_delete_many_docs (line 122) ... FAILED
[INFO] [stdout] test src/lib.rs - on_upload_asset (line 178) ... FAILED
[INFO] [stdout] test src/lib.rs - on_delete_doc (line 92) ... FAILED
[INFO] [stdout] test src/lib.rs - on_delete_filtered_docs (line 141) ... FAILED
[INFO] [stdout] test src/lib.rs - on_upload_asset (line 189) ... FAILED
[INFO] [stdout] test src/lib.rs - on_delete_filtered_docs (line 151) ... FAILED
[INFO] [stdout] test src/lib.rs - on_set_doc (line 21) ... FAILED
[INFO] [stdout] test src/lib.rs - on_delete_many_assets (line 238) ... FAILED
[INFO] [stdout] test src/lib.rs - on_set_many_docs (line 51) ... FAILED
[INFO] [stdout] test src/lib.rs - on_set_doc (line 32) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - assert_set_doc (line 316) stdout ----
[INFO] [stdout] error: cannot find attribute `assert_set_doc` in this scope
[INFO] [stdout]    --> src/lib.rs:317:3
[INFO] [stdout]     |
[INFO] [stdout] 317 | #[assert_set_doc(collections = ["demo"])]
[INFO] [stdout]     |   ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `assert_set_doc` is in scope, but it is a function, not an attribute
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]     |
[INFO] [stdout] 316 + use junobuild_macros::assert_set_doc;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `AssertSetDocContext` in this scope
[INFO] [stdout]    --> src/lib.rs:318:28
[INFO] [stdout]     |
[INFO] [stdout] 318 | fn assert_set_doc(context: AssertSetDocContext) -> Result<(), String> {
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:318:52
[INFO] [stdout]     |
[INFO] [stdout] 318 | fn assert_set_doc(context: AssertSetDocContext) -> Result<(), String> {
[INFO] [stdout]     |    --------------                                  ^^^^^^^^^^^^^^^^^^ expected `Result<(), String>`, found `()`
[INFO] [stdout]     |    |
[INFO] [stdout]     |    implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]     |
[INFO] [stdout]     = note:   expected enum `Result<(), String>`
[INFO] [stdout]             found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - json_data (line 543) stdout ----
[INFO] [stdout] error: cannot find derive macro `CandidType` in this scope
[INFO] [stdout]    --> src/lib.rs:549:10
[INFO] [stdout]     |
[INFO] [stdout] 549 | #[derive(CandidType, Serialize, Deserialize, JsonData)]
[INFO] [stdout]     |          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Serialize` in this scope
[INFO] [stdout]    --> src/lib.rs:549:22
[INFO] [stdout]     |
[INFO] [stdout] 549 | #[derive(CandidType, Serialize, Deserialize, JsonData)]
[INFO] [stdout]     |                      ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this derive macro
[INFO] [stdout]     |
[INFO] [stdout] 543 + use serde::Serialize;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope
[INFO] [stdout]    --> src/lib.rs:549:33
[INFO] [stdout]     |
[INFO] [stdout] 549 | #[derive(CandidType, Serialize, Deserialize, JsonData)]
[INFO] [stdout]     |                                 ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this derive macro
[INFO] [stdout]     |
[INFO] [stdout] 543 + use serde::Deserialize;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `JsonData` in this scope
[INFO] [stdout]    --> src/lib.rs:549:46
[INFO] [stdout]     |
[INFO] [stdout] 549 | #[derive(CandidType, Serialize, Deserialize, JsonData)]
[INFO] [stdout]     |                                              ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this derive macro
[INFO] [stdout]     |
[INFO] [stdout] 543 + use junobuild_macros::JsonData;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `CandidType` in this scope
[INFO] [stdout]    --> src/lib.rs:544:10
[INFO] [stdout]     |
[INFO] [stdout] 544 | #[derive(CandidType, Serialize, Deserialize, JsonData)]
[INFO] [stdout]     |          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Serialize` in this scope
[INFO] [stdout]    --> src/lib.rs:544:22
[INFO] [stdout]     |
[INFO] [stdout] 544 | #[derive(CandidType, Serialize, Deserialize, JsonData)]
[INFO] [stdout]     |                      ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this derive macro
[INFO] [stdout]     |
[INFO] [stdout] 543 + use serde::Serialize;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope
[INFO] [stdout]    --> src/lib.rs:544:33
[INFO] [stdout]     |
[INFO] [stdout] 544 | #[derive(CandidType, Serialize, Deserialize, JsonData)]
[INFO] [stdout]     |                                 ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this derive macro
[INFO] [stdout]     |
[INFO] [stdout] 543 + use serde::Deserialize;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `JsonData` in this scope
[INFO] [stdout]    --> src/lib.rs:544:46
[INFO] [stdout]     |
[INFO] [stdout] 544 | #[derive(CandidType, Serialize, Deserialize, JsonData)]
[INFO] [stdout]     |                                              ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this derive macro
[INFO] [stdout]     |
[INFO] [stdout] 543 + use junobuild_macros::JsonData;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Principal` in this scope
[INFO] [stdout]    --> src/lib.rs:546:12
[INFO] [stdout]     |
[INFO] [stdout] 546 |     value: Principal,
[INFO] [stdout]     |            ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Principal` in this scope
[INFO] [stdout]    --> src/lib.rs:551:12
[INFO] [stdout]     |
[INFO] [stdout] 551 |     value: Principal,
[INFO] [stdout]     |            ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 10 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - assert_delete_asset (line 395) stdout ----
[INFO] [stdout] error: cannot find attribute `assert_delete_asset` in this scope
[INFO] [stdout]    --> src/lib.rs:396:3
[INFO] [stdout]     |
[INFO] [stdout] 396 | #[assert_delete_asset]
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `assert_delete_asset` is in scope, but it is a function, not an attribute
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]     |
[INFO] [stdout] 395 + use junobuild_macros::assert_delete_asset;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `AssertDeleteAssetContext` in this scope
[INFO] [stdout]    --> src/lib.rs:397:33
[INFO] [stdout]     |
[INFO] [stdout] 397 | fn assert_delete_asset(context: AssertDeleteAssetContext) -> Result<(), String> {
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:397:62
[INFO] [stdout]     |
[INFO] [stdout] 397 | fn assert_delete_asset(context: AssertDeleteAssetContext) -> Result<(), String> {
[INFO] [stdout]     |    -------------------                                       ^^^^^^^^^^^^^^^^^^ expected `Result<(), String>`, found `()`
[INFO] [stdout]     |    |
[INFO] [stdout]     |    implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]     |
[INFO] [stdout]     = note:   expected enum `Result<(), String>`
[INFO] [stdout]             found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - on_delete_filtered_assets (line 268) stdout ----
[INFO] [stdout] error: cannot find attribute `on_delete_filtered_assets` in this scope
[INFO] [stdout]    --> src/lib.rs:269:3
[INFO] [stdout]     |
[INFO] [stdout] 269 | #[on_delete_filtered_assets]
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `on_delete_filtered_assets` is in scope, but it is a function, not an attribute
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]     |
[INFO] [stdout] 268 + use junobuild_macros::on_delete_filtered_assets;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `OnDeleteFilteredAssetsContext` in this scope
[INFO] [stdout]    --> src/lib.rs:270:45
[INFO] [stdout]     |
[INFO] [stdout] 270 | async fn on_delete_filtered_assets(context: OnDeleteFilteredAssetsContext) -> Result<(), String> {
[INFO] [stdout]     |                                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:270:98
[INFO] [stdout]     |
[INFO] [stdout] 270 |   async fn on_delete_filtered_assets(context: OnDeleteFilteredAssetsContext) -> Result<(), String> {
[INFO] [stdout]     |  __________________________________________________________________________________________________^
[INFO] [stdout] 271 | |     // Your hook logic here
[INFO] [stdout] 272 | | }
[INFO] [stdout]     | |_^ expected `Result<(), String>`, found `()`
[INFO] [stdout]     |
[INFO] [stdout]     = note:   expected enum `Result<(), String>`
[INFO] [stdout]             found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - assert_delete_asset (line 406) stdout ----
[INFO] [stdout] error: cannot find attribute `assert_delete_asset` in this scope
[INFO] [stdout]    --> src/lib.rs:407:3
[INFO] [stdout]     |
[INFO] [stdout] 407 | #[assert_delete_asset(collections = ["assets"])]
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]     |
[INFO] [stdout] 406 + use junobuild_macros::assert_delete_asset;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `AssertDeleteAssetContext` in this scope
[INFO] [stdout]    --> src/lib.rs:408:38
[INFO] [stdout]     |
[INFO] [stdout] 408 | fn juno_assert_delete_asset(context: AssertDeleteAssetContext) -> Result<(), String> {
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:408:67
[INFO] [stdout]     |
[INFO] [stdout] 408 | fn juno_assert_delete_asset(context: AssertDeleteAssetContext) -> Result<(), String> {
[INFO] [stdout]     |    ------------------------                                       ^^^^^^^^^^^^^^^^^^ expected `Result<(), String>`, found `()`
[INFO] [stdout]     |    |
[INFO] [stdout]     |    implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]     |
[INFO] [stdout]     = note:   expected enum `Result<(), String>`
[INFO] [stdout]             found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - on_delete_asset (line 219) stdout ----
[INFO] [stdout] error: cannot find attribute `on_delete_asset` in this scope
[INFO] [stdout]    --> src/lib.rs:220:3
[INFO] [stdout]     |
[INFO] [stdout] 220 | #[on_delete_asset(collections = ["demo"])]
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `on_delete_asset` is in scope, but it is a function, not an attribute
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]     |
[INFO] [stdout] 219 + use junobuild_macros::on_delete_asset;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `OnDeleteAssetContext` in this scope
[INFO] [stdout]    --> src/lib.rs:221:35
[INFO] [stdout]     |
[INFO] [stdout] 221 | async fn on_delete_asset(context: OnDeleteAssetContext) -> Result<(), String> {
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:221:79
[INFO] [stdout]     |
[INFO] [stdout] 221 |   async fn on_delete_asset(context: OnDeleteAssetContext) -> Result<(), String> {
[INFO] [stdout]     |  _______________________________________________________________________________^
[INFO] [stdout] 222 | |     // Your hook logic here
[INFO] [stdout] 223 | | }
[INFO] [stdout]     | |_^ expected `Result<(), String>`, found `()`
[INFO] [stdout]     |
[INFO] [stdout]     = note:   expected enum `Result<(), String>`
[INFO] [stdout]             found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - assert_delete_doc (line 346) stdout ----
[INFO] [stdout] error: cannot find attribute `assert_delete_doc` in this scope
[INFO] [stdout]    --> src/lib.rs:347:3
[INFO] [stdout]     |
[INFO] [stdout] 347 | #[assert_delete_doc(collections = ["demo"])]
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `assert_delete_doc` is in scope, but it is a function, not an attribute
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]     |
[INFO] [stdout] 346 + use junobuild_macros::assert_delete_doc;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `AssertDeleteDocContext` in this scope
[INFO] [stdout]    --> src/lib.rs:348:31
[INFO] [stdout]     |
[INFO] [stdout] 348 | fn assert_delete_doc(context: AssertDeleteDocContext) -> Result<(), String> {
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:348:58
[INFO] [stdout]     |
[INFO] [stdout] 348 | fn assert_delete_doc(context: AssertDeleteDocContext) -> Result<(), String> {
[INFO] [stdout]     |    -----------------                                     ^^^^^^^^^^^^^^^^^^ expected `Result<(), String>`, found `()`
[INFO] [stdout]     |    |
[INFO] [stdout]     |    implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]     |
[INFO] [stdout]     = note:   expected enum `Result<(), String>`
[INFO] [stdout]             found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - on_init (line 442) stdout ----
[INFO] [stdout] error: cannot find attribute `on_init` in this scope
[INFO] [stdout]    --> src/lib.rs:443:3
[INFO] [stdout]     |
[INFO] [stdout] 443 | #[on_init]
[INFO] [stdout]     |   ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `on_init` is in scope, but it is a function, not an attribute
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]     |
[INFO] [stdout] 442 + use junobuild_macros::on_init;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - assert_set_doc (line 305) stdout ----
[INFO] [stdout] error: cannot find attribute `assert_set_doc` in this scope
[INFO] [stdout]    --> src/lib.rs:306:3
[INFO] [stdout]     |
[INFO] [stdout] 306 | #[assert_set_doc]
[INFO] [stdout]     |   ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `assert_set_doc` is in scope, but it is a function, not an attribute
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]     |
[INFO] [stdout] 305 + use junobuild_macros::assert_set_doc;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `AssertSetDocContext` in this scope
[INFO] [stdout]    --> src/lib.rs:307:28
[INFO] [stdout]     |
[INFO] [stdout] 307 | fn assert_set_doc(context: AssertSetDocContext) -> Result<(), String> {
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:307:52
[INFO] [stdout]     |
[INFO] [stdout] 307 | fn assert_set_doc(context: AssertSetDocContext) -> Result<(), String> {
[INFO] [stdout]     |    --------------                                  ^^^^^^^^^^^^^^^^^^ expected `Result<(), String>`, found `()`
[INFO] [stdout]     |    |
[INFO] [stdout]     |    implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]     |
[INFO] [stdout]     = note:   expected enum `Result<(), String>`
[INFO] [stdout]             found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - assert_upload_asset (line 376) stdout ----
[INFO] [stdout] error: cannot find attribute `assert_upload_asset` in this scope
[INFO] [stdout]    --> src/lib.rs:377:3
[INFO] [stdout]     |
[INFO] [stdout] 377 | #[assert_upload_asset(collections = ["assets"])]
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]     |
[INFO] [stdout] 376 + use junobuild_macros::assert_upload_asset;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `AssertUploadAssetContext` in this scope
[INFO] [stdout]    --> src/lib.rs:378:38
[INFO] [stdout]     |
[INFO] [stdout] 378 | fn juno_assert_upload_asset(context: AssertUploadAssetContext) -> Result<(), String> {
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:378:67
[INFO] [stdout]     |
[INFO] [stdout] 378 | fn juno_assert_upload_asset(context: AssertUploadAssetContext) -> Result<(), String> {
[INFO] [stdout]     |    ------------------------                                       ^^^^^^^^^^^^^^^^^^ expected `Result<(), String>`, found `()`
[INFO] [stdout]     |    |
[INFO] [stdout]     |    implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]     |
[INFO] [stdout]     = note:   expected enum `Result<(), String>`
[INFO] [stdout]             found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - on_delete_doc (line 81) stdout ----
[INFO] [stdout] error: cannot find attribute `on_delete_doc` in this scope
[INFO] [stdout]   --> src/lib.rs:82:3
[INFO] [stdout]    |
[INFO] [stdout] 82 | #[on_delete_doc]
[INFO] [stdout]    |   ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `on_delete_doc` is in scope, but it is a function, not an attribute
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]    |
[INFO] [stdout] 81 + use junobuild_macros::on_delete_doc;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `OnDeleteDocContext` in this scope
[INFO] [stdout]   --> src/lib.rs:83:33
[INFO] [stdout]    |
[INFO] [stdout] 83 | async fn on_delete_doc(context: OnDeleteDocContext) -> Result<(), String> {
[INFO] [stdout]    |                                 ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:83:75
[INFO] [stdout]    |
[INFO] [stdout] 83 |   async fn on_delete_doc(context: OnDeleteDocContext) -> Result<(), String> {
[INFO] [stdout]    |  ___________________________________________________________________________^
[INFO] [stdout] 84 | |     // Your hook logic here
[INFO] [stdout] 85 | | }
[INFO] [stdout]    | |_^ expected `Result<(), String>`, found `()`
[INFO] [stdout]    |
[INFO] [stdout]    = note:   expected enum `Result<(), String>`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - on_post_upgrade (line 425) stdout ----
[INFO] [stdout] error: cannot find attribute `on_post_upgrade` in this scope
[INFO] [stdout]    --> src/lib.rs:426:3
[INFO] [stdout]     |
[INFO] [stdout] 426 | #[on_post_upgrade]
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `on_post_upgrade` is in scope, but it is a function, not an attribute
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]     |
[INFO] [stdout] 425 + use junobuild_macros::on_post_upgrade;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - on_delete_filtered_assets (line 278) stdout ----
[INFO] [stdout] error: cannot find attribute `on_delete_filtered_assets` in this scope
[INFO] [stdout]    --> src/lib.rs:279:3
[INFO] [stdout]     |
[INFO] [stdout] 279 | #[on_delete_filtered_assets(collections = ["assets_collection"])]
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `on_delete_filtered_assets` is in scope, but it is a function, not an attribute
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]     |
[INFO] [stdout] 278 + use junobuild_macros::on_delete_filtered_assets;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `OnDeleteFilteredAssetsContext` in this scope
[INFO] [stdout]    --> src/lib.rs:280:45
[INFO] [stdout]     |
[INFO] [stdout] 280 | async fn on_delete_filtered_assets(context: OnDeleteFilteredAssetsContext) -> Result<(), String> {
[INFO] [stdout]     |                                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:280:98
[INFO] [stdout]     |
[INFO] [stdout] 280 |   async fn on_delete_filtered_assets(context: OnDeleteFilteredAssetsContext) -> Result<(), String> {
[INFO] [stdout]     |  __________________________________________________________________________________________________^
[INFO] [stdout] 281 | |     // Your hook logic here
[INFO] [stdout] 282 | | }
[INFO] [stdout]     | |_^ expected `Result<(), String>`, found `()`
[INFO] [stdout]     |
[INFO] [stdout]     = note:   expected enum `Result<(), String>`
[INFO] [stdout]             found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - on_delete_asset (line 208) stdout ----
[INFO] [stdout] error: cannot find attribute `on_delete_asset` in this scope
[INFO] [stdout]    --> src/lib.rs:209:3
[INFO] [stdout]     |
[INFO] [stdout] 209 | #[on_delete_asset]
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `on_delete_asset` is in scope, but it is a function, not an attribute
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]     |
[INFO] [stdout] 208 + use junobuild_macros::on_delete_asset;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `OnDeleteAssetContext` in this scope
[INFO] [stdout]    --> src/lib.rs:210:35
[INFO] [stdout]     |
[INFO] [stdout] 210 | async fn on_delete_asset(context: OnDeleteAssetContext) -> Result<(), String> {
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:210:79
[INFO] [stdout]     |
[INFO] [stdout] 210 |   async fn on_delete_asset(context: OnDeleteAssetContext) -> Result<(), String> {
[INFO] [stdout]     |  _______________________________________________________________________________^
[INFO] [stdout] 211 | |     // Your hook logic here
[INFO] [stdout] 212 | | }
[INFO] [stdout]     | |_^ expected `Result<(), String>`, found `()`
[INFO] [stdout]     |
[INFO] [stdout]     = note:   expected enum `Result<(), String>`
[INFO] [stdout]             found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - assert_upload_asset (line 365) stdout ----
[INFO] [stdout] error: cannot find attribute `assert_upload_asset` in this scope
[INFO] [stdout]    --> src/lib.rs:366:3
[INFO] [stdout]     |
[INFO] [stdout] 366 | #[assert_upload_asset]
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `assert_upload_asset` is in scope, but it is a function, not an attribute
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]     |
[INFO] [stdout] 365 + use junobuild_macros::assert_upload_asset;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `AssertUploadAssetContext` in this scope
[INFO] [stdout]    --> src/lib.rs:367:33
[INFO] [stdout]     |
[INFO] [stdout] 367 | fn assert_upload_asset(context: AssertUploadAssetContext) -> Result<(), String> {
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:367:62
[INFO] [stdout]     |
[INFO] [stdout] 367 | fn assert_upload_asset(context: AssertUploadAssetContext) -> Result<(), String> {
[INFO] [stdout]     |    -------------------                                       ^^^^^^^^^^^^^^^^^^ expected `Result<(), String>`, found `()`
[INFO] [stdout]     |    |
[INFO] [stdout]     |    implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]     |
[INFO] [stdout]     = note:   expected enum `Result<(), String>`
[INFO] [stdout]             found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - on_post_upgrade_sync (line 472) stdout ----
[INFO] [stdout] error: cannot find attribute `on_post_upgrade_sync` in this scope
[INFO] [stdout]    --> src/lib.rs:473:3
[INFO] [stdout]     |
[INFO] [stdout] 473 | #[on_post_upgrade_sync]
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `on_post_upgrade_sync` is in scope, but it is a function, not an attribute
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - assert_delete_doc (line 335) stdout ----
[INFO] [stdout] error: cannot find attribute `assert_delete_doc` in this scope
[INFO] [stdout]    --> src/lib.rs:336:3
[INFO] [stdout]     |
[INFO] [stdout] 336 | #[assert_delete_doc]
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `assert_delete_doc` is in scope, but it is a function, not an attribute
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]     |
[INFO] [stdout] 335 + use junobuild_macros::assert_delete_doc;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `AssertDeleteDocContext` in this scope
[INFO] [stdout]    --> src/lib.rs:337:31
[INFO] [stdout]     |
[INFO] [stdout] 337 | fn assert_delete_doc(context: AssertDeleteDocContext) -> Result<(), String> {
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:337:58
[INFO] [stdout]     |
[INFO] [stdout] 337 | fn assert_delete_doc(context: AssertDeleteDocContext) -> Result<(), String> {
[INFO] [stdout]     |    -----------------                                     ^^^^^^^^^^^^^^^^^^ expected `Result<(), String>`, found `()`
[INFO] [stdout]     |    |
[INFO] [stdout]     |    implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]     |
[INFO] [stdout]     = note:   expected enum `Result<(), String>`
[INFO] [stdout]             found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - on_init_sync (line 502) stdout ----
[INFO] [stdout] error: cannot find attribute `on_init_sync` in this scope
[INFO] [stdout]    --> src/lib.rs:503:3
[INFO] [stdout]     |
[INFO] [stdout] 503 | #[on_init_sync]
[INFO] [stdout]     |   ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `on_init_sync` is in scope, but it is a function, not an attribute
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - on_delete_many_docs (line 111) stdout ----
[INFO] [stdout] error: cannot find attribute `on_delete_many_docs` in this scope
[INFO] [stdout]    --> src/lib.rs:112:3
[INFO] [stdout]     |
[INFO] [stdout] 112 | #[on_delete_many_docs]
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `on_delete_many_docs` is in scope, but it is a function, not an attribute
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]     |
[INFO] [stdout] 111 + use junobuild_macros::on_delete_many_docs;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `OnDeleteManyDocsContext` in this scope
[INFO] [stdout]    --> src/lib.rs:113:39
[INFO] [stdout]     |
[INFO] [stdout] 113 | async fn on_delete_many_docs(context: OnDeleteManyDocsContext) -> Result<(), String> {
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:113:86
[INFO] [stdout]     |
[INFO] [stdout] 113 |   async fn on_delete_many_docs(context: OnDeleteManyDocsContext) -> Result<(), String> {
[INFO] [stdout]     |  ______________________________________________________________________________________^
[INFO] [stdout] 114 | |     // Your hook logic here
[INFO] [stdout] 115 | | }
[INFO] [stdout]     | |_^ expected `Result<(), String>`, found `()`
[INFO] [stdout]     |
[INFO] [stdout]     = note:   expected enum `Result<(), String>`
[INFO] [stdout]             found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - on_set_many_docs (line 62) stdout ----
[INFO] [stdout] error: cannot find attribute `on_set_many_docs` in this scope
[INFO] [stdout]   --> src/lib.rs:63:3
[INFO] [stdout]    |
[INFO] [stdout] 63 | #[on_set_many_docs(collections = ["demo"])]
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `on_set_many_docs` is in scope, but it is a function, not an attribute
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]    |
[INFO] [stdout] 62 + use junobuild_macros::on_set_many_docs;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `OnSetManyDocsContext` in this scope
[INFO] [stdout]   --> src/lib.rs:64:36
[INFO] [stdout]    |
[INFO] [stdout] 64 | async fn on_set_many_docs(context: OnSetManyDocsContext) -> Result<(), String> {
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:64:80
[INFO] [stdout]    |
[INFO] [stdout] 64 |   async fn on_set_many_docs(context: OnSetManyDocsContext) -> Result<(), String> {
[INFO] [stdout]    |  ________________________________________________________________________________^
[INFO] [stdout] 65 | |     // Your hook logic here
[INFO] [stdout] 66 | | }
[INFO] [stdout]    | |_^ expected `Result<(), String>`, found `()`
[INFO] [stdout]    |
[INFO] [stdout]    = note:   expected enum `Result<(), String>`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - on_init_random_seed (line 522) stdout ----
[INFO] [stdout] error: cannot find attribute `on_init_random_seed` in this scope
[INFO] [stdout]    --> src/lib.rs:523:3
[INFO] [stdout]     |
[INFO] [stdout] 523 | #[on_init_random_seed]
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `on_init_random_seed` is in scope, but it is a function, not an attribute
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]     |
[INFO] [stdout] 522 + use junobuild_macros::on_init_random_seed;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - on_delete_many_assets (line 249) stdout ----
[INFO] [stdout] error: cannot find attribute `on_delete_many_assets` in this scope
[INFO] [stdout]    --> src/lib.rs:250:3
[INFO] [stdout]     |
[INFO] [stdout] 250 | #[on_delete_many_assets(collections = ["demo"])]
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `on_delete_many_assets` is in scope, but it is a function, not an attribute
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]     |
[INFO] [stdout] 249 + use junobuild_macros::on_delete_many_assets;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `OnDeleteManyAssetsContext` in this scope
[INFO] [stdout]    --> src/lib.rs:251:41
[INFO] [stdout]     |
[INFO] [stdout] 251 | async fn on_delete_many_assets(context: OnDeleteManyAssetsContext) -> Result<(), String> {
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:251:90
[INFO] [stdout]     |
[INFO] [stdout] 251 |   async fn on_delete_many_assets(context: OnDeleteManyAssetsContext) -> Result<(), String> {
[INFO] [stdout]     |  __________________________________________________________________________________________^
[INFO] [stdout] 252 | |     // Your hook logic here
[INFO] [stdout] 253 | | }
[INFO] [stdout]     | |_^ expected `Result<(), String>`, found `()`
[INFO] [stdout]     |
[INFO] [stdout]     = note:   expected enum `Result<(), String>`
[INFO] [stdout]             found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - on_delete_many_docs (line 122) stdout ----
[INFO] [stdout] error: cannot find attribute `on_delete_many_docs` in this scope
[INFO] [stdout]    --> src/lib.rs:123:3
[INFO] [stdout]     |
[INFO] [stdout] 123 | #[on_delete_many_docs(collections = ["demo"])]
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `on_delete_many_docs` is in scope, but it is a function, not an attribute
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]     |
[INFO] [stdout] 122 + use junobuild_macros::on_delete_many_docs;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `OnDeleteManyDocsContext` in this scope
[INFO] [stdout]    --> src/lib.rs:124:39
[INFO] [stdout]     |
[INFO] [stdout] 124 | async fn on_delete_many_docs(context: OnDeleteManyDocsContext) -> Result<(), String> {
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:124:86
[INFO] [stdout]     |
[INFO] [stdout] 124 |   async fn on_delete_many_docs(context: OnDeleteManyDocsContext) -> Result<(), String> {
[INFO] [stdout]     |  ______________________________________________________________________________________^
[INFO] [stdout] 125 | |     // Your hook logic here
[INFO] [stdout] 126 | | }
[INFO] [stdout]     | |_^ expected `Result<(), String>`, found `()`
[INFO] [stdout]     |
[INFO] [stdout]     = note:   expected enum `Result<(), String>`
[INFO] [stdout]             found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - on_upload_asset (line 178) stdout ----
[INFO] [stdout] error: cannot find attribute `on_upload_asset` in this scope
[INFO] [stdout]    --> src/lib.rs:179:3
[INFO] [stdout]     |
[INFO] [stdout] 179 | #[on_upload_asset]
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `on_upload_asset` is in scope, but it is a function, not an attribute
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]     |
[INFO] [stdout] 178 + use junobuild_macros::on_upload_asset;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `OnUploadAssetContext` in this scope
[INFO] [stdout]    --> src/lib.rs:180:35
[INFO] [stdout]     |
[INFO] [stdout] 180 | async fn on_upload_asset(context: OnUploadAssetContext) -> Result<(), String> {
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:180:79
[INFO] [stdout]     |
[INFO] [stdout] 180 |   async fn on_upload_asset(context: OnUploadAssetContext) -> Result<(), String> {
[INFO] [stdout]     |  _______________________________________________________________________________^
[INFO] [stdout] 181 | |     // Your hook logic here
[INFO] [stdout] 182 | | }
[INFO] [stdout]     | |_^ expected `Result<(), String>`, found `()`
[INFO] [stdout]     |
[INFO] [stdout]     = note:   expected enum `Result<(), String>`
[INFO] [stdout]             found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - on_delete_doc (line 92) stdout ----
[INFO] [stdout] error: cannot find attribute `on_delete_doc` in this scope
[INFO] [stdout]   --> src/lib.rs:93:3
[INFO] [stdout]    |
[INFO] [stdout] 93 | #[on_delete_doc(collections = ["demo"])]
[INFO] [stdout]    |   ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `on_delete_doc` is in scope, but it is a function, not an attribute
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]    |
[INFO] [stdout] 92 + use junobuild_macros::on_delete_doc;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `OnDeleteDocContext` in this scope
[INFO] [stdout]   --> src/lib.rs:94:33
[INFO] [stdout]    |
[INFO] [stdout] 94 | async fn on_delete_doc(context: OnDeleteDocContext) -> Result<(), String> {
[INFO] [stdout]    |                                 ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:94:75
[INFO] [stdout]    |
[INFO] [stdout] 94 |   async fn on_delete_doc(context: OnDeleteDocContext) -> Result<(), String> {
[INFO] [stdout]    |  ___________________________________________________________________________^
[INFO] [stdout] 95 | |     // Your hook logic here
[INFO] [stdout] 96 | | }
[INFO] [stdout]    | |_^ expected `Result<(), String>`, found `()`
[INFO] [stdout]    |
[INFO] [stdout]    = note:   expected enum `Result<(), String>`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - on_delete_filtered_docs (line 141) stdout ----
[INFO] [stdout] error: cannot find attribute `on_delete_filtered_docs` in this scope
[INFO] [stdout]    --> src/lib.rs:142:3
[INFO] [stdout]     |
[INFO] [stdout] 142 | #[on_delete_filtered_docs]
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `on_delete_filtered_docs` is in scope, but it is a function, not an attribute
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]     |
[INFO] [stdout] 141 + use junobuild_macros::on_delete_filtered_docs;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `OnDeleteFilteredDocsContext` in this scope
[INFO] [stdout]    --> src/lib.rs:143:43
[INFO] [stdout]     |
[INFO] [stdout] 143 | async fn on_delete_filtered_docs(context: OnDeleteFilteredDocsContext) -> Result<(), String> {
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:143:94
[INFO] [stdout]     |
[INFO] [stdout] 143 |   async fn on_delete_filtered_docs(context: OnDeleteFilteredDocsContext) -> Result<(), String> {
[INFO] [stdout]     |  ______________________________________________________________________________________________^
[INFO] [stdout] 144 | |     // Your hook logic here
[INFO] [stdout] 145 | | }
[INFO] [stdout]     | |_^ expected `Result<(), String>`, found `()`
[INFO] [stdout]     |
[INFO] [stdout]     = note:   expected enum `Result<(), String>`
[INFO] [stdout]             found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - on_upload_asset (line 189) stdout ----
[INFO] [stdout] error: cannot find attribute `on_upload_asset` in this scope
[INFO] [stdout]    --> src/lib.rs:190:3
[INFO] [stdout]     |
[INFO] [stdout] 190 | #[on_upload_asset(collections = ["demo"])]
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `on_upload_asset` is in scope, but it is a function, not an attribute
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]     |
[INFO] [stdout] 189 + use junobuild_macros::on_upload_asset;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `OnUploadAssetContext` in this scope
[INFO] [stdout]    --> src/lib.rs:191:35
[INFO] [stdout]     |
[INFO] [stdout] 191 | async fn on_upload_asset(context: OnUploadAssetContext) -> Result<(), String> {
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:191:79
[INFO] [stdout]     |
[INFO] [stdout] 191 |   async fn on_upload_asset(context: OnUploadAssetContext) -> Result<(), String> {
[INFO] [stdout]     |  _______________________________________________________________________________^
[INFO] [stdout] 192 | |     // Your hook logic here
[INFO] [stdout] 193 | | }
[INFO] [stdout]     | |_^ expected `Result<(), String>`, found `()`
[INFO] [stdout]     |
[INFO] [stdout]     = note:   expected enum `Result<(), String>`
[INFO] [stdout]             found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - on_delete_filtered_docs (line 151) stdout ----
[INFO] [stdout] error: cannot find attribute `on_delete_filtered_docs` in this scope
[INFO] [stdout]    --> src/lib.rs:152:3
[INFO] [stdout]     |
[INFO] [stdout] 152 | #[on_delete_filtered_docs(collections = ["demo"])]
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `on_delete_filtered_docs` is in scope, but it is a function, not an attribute
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]     |
[INFO] [stdout] 151 + use junobuild_macros::on_delete_filtered_docs;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `OnDeleteFilteredDocsContext` in this scope
[INFO] [stdout]    --> src/lib.rs:153:43
[INFO] [stdout]     |
[INFO] [stdout] 153 | async fn on_delete_filtered_docs(context: OnDeleteFilteredDocsContext) -> Result<(), String> {
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:153:94
[INFO] [stdout]     |
[INFO] [stdout] 153 |   async fn on_delete_filtered_docs(context: OnDeleteFilteredDocsContext) -> Result<(), String> {
[INFO] [stdout]     |  ______________________________________________________________________________________________^
[INFO] [stdout] 154 | |     // Your hook logic here
[INFO] [stdout] 155 | | }
[INFO] [stdout]     | |_^ expected `Result<(), String>`, found `()`
[INFO] [stdout]     |
[INFO] [stdout]     = note:   expected enum `Result<(), String>`
[INFO] [stdout]             found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - on_set_doc (line 21) stdout ----
[INFO] [stdout] error: cannot find attribute `on_set_doc` in this scope
[INFO] [stdout]   --> src/lib.rs:22:3
[INFO] [stdout]    |
[INFO] [stdout] 22 | #[on_set_doc]
[INFO] [stdout]    |   ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `on_set_doc` is in scope, but it is a function, not an attribute
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]    |
[INFO] [stdout] 21 + use junobuild_macros::on_set_doc;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `OnSetDocContext` in this scope
[INFO] [stdout]   --> src/lib.rs:23:30
[INFO] [stdout]    |
[INFO] [stdout] 23 | async fn on_set_doc(context: OnSetDocContext) -> Result<(), String> {
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:23:69
[INFO] [stdout]    |
[INFO] [stdout] 23 |   async fn on_set_doc(context: OnSetDocContext) -> Result<(), String> {
[INFO] [stdout]    |  _____________________________________________________________________^
[INFO] [stdout] 24 | |     // Your hook logic here
[INFO] [stdout] 25 | | }
[INFO] [stdout]    | |_^ expected `Result<(), String>`, found `()`
[INFO] [stdout]    |
[INFO] [stdout]    = note:   expected enum `Result<(), String>`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - on_delete_many_assets (line 238) stdout ----
[INFO] [stdout] error: cannot find attribute `on_delete_many_assets` in this scope
[INFO] [stdout]    --> src/lib.rs:239:3
[INFO] [stdout]     |
[INFO] [stdout] 239 | #[on_delete_many_assets]
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `on_delete_many_assets` is in scope, but it is a function, not an attribute
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]     |
[INFO] [stdout] 238 + use junobuild_macros::on_delete_many_assets;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `OnDeleteManyAssetsContext` in this scope
[INFO] [stdout]    --> src/lib.rs:240:41
[INFO] [stdout]     |
[INFO] [stdout] 240 | async fn on_delete_many_assets(context: OnDeleteManyAssetsContext) -> Result<(), String> {
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:240:90
[INFO] [stdout]     |
[INFO] [stdout] 240 |   async fn on_delete_many_assets(context: OnDeleteManyAssetsContext) -> Result<(), String> {
[INFO] [stdout]     |  __________________________________________________________________________________________^
[INFO] [stdout] 241 | |     // Your hook logic here
[INFO] [stdout] 242 | | }
[INFO] [stdout]     | |_^ expected `Result<(), String>`, found `()`
[INFO] [stdout]     |
[INFO] [stdout]     = note:   expected enum `Result<(), String>`
[INFO] [stdout]             found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - on_set_many_docs (line 51) stdout ----
[INFO] [stdout] error: cannot find attribute `on_set_many_docs` in this scope
[INFO] [stdout]   --> src/lib.rs:52:3
[INFO] [stdout]    |
[INFO] [stdout] 52 | #[on_set_many_docs]
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `on_set_many_docs` is in scope, but it is a function, not an attribute
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]    |
[INFO] [stdout] 51 + use junobuild_macros::on_set_many_docs;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `OnSetManyDocsContext` in this scope
[INFO] [stdout]   --> src/lib.rs:53:36
[INFO] [stdout]    |
[INFO] [stdout] 53 | async fn on_set_many_docs(context: OnSetManyDocsContext) -> Result<(), String> {
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:53:80
[INFO] [stdout]    |
[INFO] [stdout] 53 |   async fn on_set_many_docs(context: OnSetManyDocsContext) -> Result<(), String> {
[INFO] [stdout]    |  ________________________________________________________________________________^
[INFO] [stdout] 54 | |     // Your hook logic here
[INFO] [stdout] 55 | | }
[INFO] [stdout]    | |_^ expected `Result<(), String>`, found `()`
[INFO] [stdout]    |
[INFO] [stdout]    = note:   expected enum `Result<(), String>`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - on_set_doc (line 32) stdout ----
[INFO] [stdout] error: cannot find attribute `on_set_doc` in this scope
[INFO] [stdout]   --> src/lib.rs:33:3
[INFO] [stdout]    |
[INFO] [stdout] 33 | #[on_set_doc(collections = ["demo"])]
[INFO] [stdout]    |   ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `on_set_doc` is in scope, but it is a function, not an attribute
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]    |
[INFO] [stdout] 32 + use junobuild_macros::on_set_doc;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `OnSetDocContext` in this scope
[INFO] [stdout]   --> src/lib.rs:34:30
[INFO] [stdout]    |
[INFO] [stdout] 34 | async fn on_set_doc(context: OnSetDocContext) -> Result<(), String> {
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:34:69
[INFO] [stdout]    |
[INFO] [stdout] 34 |   async fn on_set_doc(context: OnSetDocContext) -> Result<(), String> {
[INFO] [stdout]    |  _____________________________________________________________________^
[INFO] [stdout] 35 | |     // Your hook logic here
[INFO] [stdout] 36 | | }
[INFO] [stdout]    | |_^ expected `Result<(), String>`, found `()`
[INFO] [stdout]    |
[INFO] [stdout]    = note:   expected enum `Result<(), String>`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - assert_delete_asset (line 395)
[INFO] [stdout]     src/lib.rs - assert_delete_asset (line 406)
[INFO] [stdout]     src/lib.rs - assert_delete_doc (line 335)
[INFO] [stdout]     src/lib.rs - assert_delete_doc (line 346)
[INFO] [stdout]     src/lib.rs - assert_set_doc (line 305)
[INFO] [stdout]     src/lib.rs - assert_set_doc (line 316)
[INFO] [stdout]     src/lib.rs - assert_upload_asset (line 365)
[INFO] [stdout]     src/lib.rs - assert_upload_asset (line 376)
[INFO] [stdout]     src/lib.rs - json_data (line 543)
[INFO] [stdout]     src/lib.rs - on_delete_asset (line 208)
[INFO] [stdout]     src/lib.rs - on_delete_asset (line 219)
[INFO] [stdout]     src/lib.rs - on_delete_doc (line 81)
[INFO] [stdout]     src/lib.rs - on_delete_doc (line 92)
[INFO] [stdout]     src/lib.rs - on_delete_filtered_assets (line 268)
[INFO] [stdout]     src/lib.rs - on_delete_filtered_assets (line 278)
[INFO] [stdout]     src/lib.rs - on_delete_filtered_docs (line 141)
[INFO] [stdout]     src/lib.rs - on_delete_filtered_docs (line 151)
[INFO] [stdout]     src/lib.rs - on_delete_many_assets (line 238)
[INFO] [stdout]     src/lib.rs - on_delete_many_assets (line 249)
[INFO] [stdout]     src/lib.rs - on_delete_many_docs (line 111)
[INFO] [stdout]     src/lib.rs - on_delete_many_docs (line 122)
[INFO] [stdout]     src/lib.rs - on_init (line 442)
[INFO] [stdout]     src/lib.rs - on_init_random_seed (line 522)
[INFO] [stdout]     src/lib.rs - on_init_sync (line 502)
[INFO] [stdout]     src/lib.rs - on_post_upgrade (line 425)
[INFO] [stdout]     src/lib.rs - on_post_upgrade_sync (line 472)
[INFO] [stdout]     src/lib.rs - on_set_doc (line 21)
[INFO] [stdout]     src/lib.rs - on_set_doc (line 32)
[INFO] [stdout]     src/lib.rs - on_set_many_docs (line 51)
[INFO] [stdout]     src/lib.rs - on_set_many_docs (line 62)
[INFO] [stdout]     src/lib.rs - on_upload_asset (line 178)
[INFO] [stdout]     src/lib.rs - on_upload_asset (line 189)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 32 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.86s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "4e24e91ad6cc432f4ccdc545a549a949eab29c9b0241517e92f19acbabbb9d25", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4e24e91ad6cc432f4ccdc545a549a949eab29c9b0241517e92f19acbabbb9d25", kill_on_drop: false }`
[INFO] [stdout] 4e24e91ad6cc432f4ccdc545a549a949eab29c9b0241517e92f19acbabbb9d25
